package com.example.toolproject.demo.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * @ClassName PlanningReport
 * @Description TODO   策划报告撰写
 * @Author lvyongwei
 * @Date 2020-06-28 14:04
 **/
@Data
@Alias("planningReport")
public class PlanningReport extends BaseRowModel {

    /**
     * 项目id
     */
    @ExcelIgnore
    private long projectId;
    /**
     * 项目名称
     */
    @ColumnWidth(25)
    @ExcelProperty( index = 0, value = "策划报告名称")
    private String projectName;
    /**
     * 地方环境分析
     */
    @ExcelIgnore
    /*@ColumnWidth(25)
    @ExcelProperty( index = 1, value = "地方环境分析")*/
    private String localEnvironmentalAnalysis;
    /**
     * 文旅资源特色分析
     */
    @ExcelIgnore
    /*@ColumnWidth(25)
    @ExcelProperty( index = 2, value = "文旅资源特色分析")*/
    private String sourcesFeatureAnalysis;
    /**
     * 潜在客源市场分析
     */
    @ExcelIgnore
    /*@ColumnWidth(25)
    @ExcelProperty( index = 3, value = "潜在客源市场分析")*/
    private String customerAnalysis;
    /**
     * 项目定位
     */
    @ExcelIgnore
    /*@ColumnWidth(25)
    @ExcelProperty( index = 4, value = "项目定位")*/
    private String projectLocation;
    /**
     * 景点策划
     */
    @ExcelIgnore
    /*@ColumnWidth(25)
    @ExcelProperty( index = 5, value = "景点策划")*/
    private String scenicSportPlanning;
    /**
     * 活动策划
     */
    @ExcelIgnore
    /*@ColumnWidth(25)
    @ExcelProperty( index = 6, value = "活动策划")*/
    private String activityPlanning;
    /**
     * 经济效益分析
     */
    @ExcelIgnore
    /*@ColumnWidth(25)
    @ExcelProperty( index = 7, value = "经济效益分析")*/
    private String economicAnalysis;
    /**
     * 用户id
     */
    @ExcelIgnore
    private int userId;
    /**
     * 撰写时间
     */
    @ExcelIgnore
    /*@ColumnWidth(25)
    @ExcelProperty( index = 8, value = "撰写时间")*/
    private Date insertTime;
    /**
     * 自评分数
     */
    @ColumnWidth(15)
    @ExcelProperty( index = 1, value = "自评分数")
    private double selfEvaluation;
    /**
     * 策划报告模板编号
     */
    @ExcelIgnore
    private Integer template;




    /**
     * 对应用户名
     */
    @ColumnWidth(15)
    @ExcelProperty( index = 2, value = "对应用户名")
    private String userName;
    /**
     * 所有评价的平均分数
     */
    @ColumnWidth(15)
    @ExcelProperty( index = 3, value = "平均分数")
    private double avgScore;
    /**
     * 所有评论人数
     */
    @ColumnWidth(15)
    @ExcelProperty( index = 4, value = "评论人数")
    private int count;
}
